#ifndef Material_h__
#define Material_h__
#include "gl\glui.h"

class Material {
public:
	Material(float mE[4], float mA[4], float mD[4], float mS[4], float shi[1], bool inh = 0);
	void act();
	float* getEmission();
	float* getAmbient();
	float* getDiffuse();
	float* getSpecular();
	float* getShininess();

	void setEmission(float a[4]);
	void setAmbient(float a[4]);
	void setDiffuse(float a[4]);
	void setSpecular(float a[4]);
	void setShininess(float a[1]);

private:
	float mEmission[4];
	float mAmbient[4];
	float mDiffuse[4];
	float mSpecular[4];
	float mShininess[1];

	bool inherit;
};

#endif // Material_h__